const path = require('path');
// console.log(path.join('a','/b', 'c', 'd'));
console.log(path.resolve('/a','/b', '/c', 'd'));